package com.edu.app.service.impl.customize;

import com.edu.app.bean.core.customize.SysCustomerExtensionYlyn;

import com.edu.app.mapper.customize.SysCustomerExtensionYlynMapper;
import com.edu.app.service.impl.SysBaseServiceImpl;
import com.edu.app.service.sys.customize.SysCustomerExtensionYlynService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SysCustomerExtensionYlynServiceImpl extends SysBaseServiceImpl<SysCustomerExtensionYlyn, SysCustomerExtensionYlynMapper> implements SysCustomerExtensionYlynService {
    @Autowired
    SysCustomerExtensionYlynMapper sysCustomerExtensionYlynMapper;

    @Override
    public SysCustomerExtensionYlyn getCustomerDetailsByCustomerId(Integer customer_id){
        return sysCustomerExtensionYlynMapper.getCustomerDetailsByCustomerId(customer_id);
    }

    @Override
    public SysCustomerExtensionYlyn deleteCustomerDetailsByCustomerId(Integer customer_id){
        return sysCustomerExtensionYlynMapper.deleteCustomerDetailsByCustomerId(customer_id);
    }

    @Override
    public Integer add(SysCustomerExtensionYlyn sysCustomerExtensionYlyn){
        return sysCustomerExtensionYlynMapper.insert(sysCustomerExtensionYlyn);
    }
}
